package com.wh1200.mybatis.xmlless.resolver

import com.wh1200.mybatis.xmlless.config.BaseResolverTest
import com.wh1200.xmlless.test.dao.DictionaryDAO
import org.junit.jupiter.api.Test
import kotlin.reflect.jvm.javaMethod
import kotlin.test.assertNotNull

/**
 *
 * @author wuhao
 * @date 2024/1/27 21:51
 * @version 1.0
 */
class DictionaryDAOResolver : BaseResolverTest(
    DictionaryDAO::class.java
) {

  @Test
  fun resolveInsert() {
    val method = DictionaryDAO::selectById.javaMethod!!
    val query = createQueryForMethod(method)
    assertNotNull(query.sql)
  }

}
